package jdk5.enumdemo;

public enum Gender {

	MONSTER,
	BOY(1),
	GRIL(0);
	
	private int type;
	private Gender(int t) {
		this.type = t;
	}
	Gender() {
		
	}
	public int getType() {
		return type;
	}
}

